﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rites.GameObjects
{
    [Serializable]
    public class Location
    {
        public eTerrainTypes GroundType { get; set; }
        public string Description { get; set; }
        public int X { get; set; }
        public int Y { get; set; }

        public Location()
        {
        }

        public Location(eTerrainTypes groundType, int x, int y)
        {
            GroundType = groundType;
            X = x;
            Y = y;

            //TODO: Temporary test code for engine, should be loaded from files
            switch (groundType)
            {
                case eTerrainTypes.Grass:
                    Description = "The soft grass stretches into the distance in every direction as far as the eye can see.";
                    break;
                case eTerrainTypes.Pebbles:
                    Description = "A narrow path strewn with pebbles.";
                    break;
            }
        }
    }
}
